/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 邓大帅
 * Date: 2023-01-27
 * Time: 9:12
 */
public class Test {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        myLinkedList.CreateLinkedList();
        myLinkedList.display();
        /*myLinkedList.addFirst(1);
        myLinkedList.addLast(1);*/
        //myLinkedList.addIndex(-1,1);
        //myLinkedList.clear();
        //myLinkedList.remove(4);
        myLinkedList.removeAllKey(3);
        int a = myLinkedList.size();
        System.out.println(a);
        System.out.println(myLinkedList.contains(5));
        myLinkedList.display();
    }
}
